<script setup lang="ts">
  import { Space, Button } from 'ant-design-vue';

  const emit = defineEmits(['submit']);
  const props = defineProps({
    size: String,
  });
  function submit() {
    console.info(11111);
    emit('submit');
  }
</script>

<template>
  <div>
    <Space size="0">
      <Button type="primary" :size="props.size" @click="submit()">提交</Button>
    </Space>
  </div>
</template>
